home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / mus / play / tracker_4_31.lzh / tracker / getoption.h < prev    next >
C/C++ Source or Header  |  1995-05-11  |  974b  |  44 lines

  1. /* getopt.h 
  2.     vi:ts=3 sw=3:
  3.  */
  4. /* $Id: getoption.h,v 4.12 1995/05/11 12:05:59 espie Exp espie $
  5.  * $Log: getoption.h,v $
  6.  * Revision 4.12  1995/05/11  12:05:59  espie
  7.  * *** empty log message ***
  8.  *
  9.  * Revision 1.1  1995/05/11  12:04:51  espie
  10.  * Initial revision
  11.  *
  12.  * Revision 4.11  1995/02/21  21:13:16  espie
  13.  * Cleaned up source. Moved minor pieces of code around.
  14.  *
  15.  * Revision 4.10  1995/02/21  17:54:32  espie
  16.  * Internal problem: buggy RCS. Fixed logs.
  17.  *
  18.  * Revision 4.5  1995/02/01  20:41:45  espie
  19.  * Added color.
  20.  *
  21.  * Revision 4.4  1995/02/01  16:39:04  espie
  22.  * Moved includes to defs.h
  23.  *
  24.  */
  25.  
  26. struct long_option
  27.     {
  28.     char *fulltext;
  29.     int argn;
  30.     char abbrev;
  31.     int code;
  32.     };
  33.  
  34. /* n = getlongopt(argc, argv, options):
  35.  * try to parse options out of argv, using ways similar to standard getopt.
  36.  * Named getlongopt to avoid conflicts with getopt
  37.  */
  38. XT int getlongopt P((int argc, char *argv[], struct long_option *options));
  39.  
  40. XT int optind;
  41.  
  42. XT char *optarg;
  43.  
  44.